package testString_Buffer_Builder.stringBuffer;

public class TestStringBuffer3 {

	public static void main(String[] args) {

		StringBuffer buffer = new StringBuffer();
		

		buffer.append("en un lugar ").append("de la mancha ")
				.append("cuyo nombre...").append("no quiero acordarme");
		
		System.out.println(buffer);
		System.out.println(buffer.length());
		buffer.insert(49, "NI ");
		System.out.println(buffer);

		buffer.replace(49,52,"ni ");
		System.out.println(buffer);
		

		
	}

}
